<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>id选择器</title>
    <style>
#red{
    color: red;
}
    </style>
</head>
<body>
<h2 id="red">id选择器和类选择器很相似</h2>

</body>
</html>